package com.ynet.middleground.riskmanage.bean.hangxin;

import javax.validation.constraints.NotEmpty;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liwq
 * @description 单据删除请求信息
 * @date 2021-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "单据删除请求信息", description = "单据删除请求信息")
public class InvoiceDeleteReq extends BaseReqObj {

    private static final long serialVersionUID = 7008532291176628420L;

    @ApiModelProperty(value = "纳税人识别号", notes = "纳税人识别号", required = true)
    @NotEmpty(message = "纳税人识别号不能为空")
    @XStreamAlias("NSRSBH")
    private String nsrsbh;

    @ApiModelProperty(value = "单据号", notes = "单据号", required = true)
    @NotEmpty(message = "单据号不能为空")
    @XStreamAlias("DJH")
    private String djh;

}
